#60 new

Can you make the password optional?

Reported by James | January 4th, 2010 @ 07:58 AM

I'm working on a system where the user can create an account directly with us or use twitter or facebook for logins.

So sometimes the user has a password, sometimes they don't.

If you use Authentication::ByPassword, password is always required.

Is there a way round this, a config option or something that can be used? From my reading of the source code I think there isn't .... ?

(Will probably add a patch to this ticket shortly)

Comments and changes to this ticket

  • James

    James January 4th, 2010 @ 08:46 AM

    So I just changed

          def password_required?

    in Authentication::ByPassword

    I guess this is more of a discussion ticket about how things should work; I couldn't see a newsgroup or more appropriate place, sorry.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Restful Authentication Generator

This widely-used plugin provides a foundation for securely managing user
* Login / logout
* Secure password handling
* Account activation by validating email
* Account approval / disabling by admin
* Rudimentary hooks for authorization and access control.


People watching this ticket